var express = require('express')

// 创建当前级路由
var formRouter = express.Router()

// 引入下一级路由
var itemRouter = require('./item')
var loginRouter = require('./login')
var registerRouter = require('./register')


// 路由到下一级
formRouter.use('/item', itemRouter)
formRouter.use('/login', loginRouter)
formRouter.use('/register', registerRouter)

// 暴露当前级路由
module.exports = formRouter